﻿using CppAst;

namespace ast;

public class FileInfo
{
    public SortedDictionary<string, ClassInfo> ClassInfos = new();
    public ModuleInfo ModuleInfo;
    public string SourcePath;
    public Builders Builders = new();
    public SortedSet<string> SortedImport = new();

    public FileInfo(string sourcePath, ModuleInfo moduleInfo)
    {
        SourcePath = sourcePath;
        ModuleInfo = moduleInfo;
        SortedImport.Add(moduleInfo.GetIncludePath(sourcePath));
    }
}